import Http from '@/http';


export function pageApi(params:any) {
    return Http.post('jobHire/page', params)
}

export function refuseApi(id:number, reason:string) {
    return Http.post('jobHire/refuse', {id : id, reason})
}

export function passApi(id:number) {
    return Http.post('jobHire/pass', {id : id})
}


export function detailApi(id) {
    return Http.get('jobHire/detail/' + id)
}

export function companyinfobyIdApi(id){
    return Http.get('jobHire/company/' + id)
}
